package ewms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ewms.bo.EwmsEntryWarehouseQueryBo;
import ewms.domain.EwmsEntryWarehouse;
import ewms.vo.EwmsEntryWarehouseVo;
import ewms.common.core.page.BaseMapperPlus;
import ewms.common.core.mybatisplus.MybatisPlusRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 危废入库Mapper接口
 *
 * @author zhaoxiaochun
 * @date 2022-02-09
 */
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
public interface EwmsEntryWarehouseMapper extends BaseMapperPlus<EwmsEntryWarehouse> {
	/**
	 * 查询危废入库列表
	 *
	 * @param page         分页信息
	 * @param entryWarehouseQueryBo
	 * @return
	 */
	Page<EwmsEntryWarehouseVo> selectPageEntryWarehouseList(@Param("page") Page<EwmsEntryWarehouseVo> page, @Param("entryWarehouse") EwmsEntryWarehouseQueryBo entryWarehouseQueryBo);

	/**
	 * 查询危废入库列表
	 *
	 * @param entryWarehouseQueryBo
	 * @return
	 */
	public List<EwmsEntryWarehouseVo> selectEntryWarehouseList(EwmsEntryWarehouseQueryBo entryWarehouseQueryBo);

	/**
	 * 查询危废待入库列表
	 *
	 * @param page         分页信息
	 * @param entryWarehouseQueryBo
	 * @return
	 */
	Page<EwmsEntryWarehouseVo> selectPagePreEntryWarehouseList(@Param("page") Page<EwmsEntryWarehouseVo> page, @Param("entryWarehouse") EwmsEntryWarehouseQueryBo entryWarehouseQueryBo);

	/**
	 * 查询危废待入库列表
	 *
	 * @param entryWarehouseQueryBo
	 * @return
	 */
	public List<EwmsEntryWarehouseVo> selectPreEntryWarehouseList(EwmsEntryWarehouseQueryBo entryWarehouseQueryBo);
}
